/*
 * @Description: 缓存配置
 * @Version: 2.0
 * @Autor: 许国辉
 * @Date: 2022-08-03 08:43:37
 * @LastEditors: 许国辉
 * @LastEditTime: 2023-03-11 09:37:48
 */
import { isDevMode } from '/@/utils/env';

// System default cache time, in seconds
export const DEFAULT_CACHE_TIME = 60 * 60 * 24;

// aes encryption key
export const cacheCipher = {
  key: '_11111000001111@',
  iv: '@11111000001111_',
};

// Whether the system cache is encrypted using aes
export const enableStorageEncryption = !isDevMode();
